package rus.sq.osTicket.Mobile;

import android.media.Image;

import java.util.Date;

public class Ticket {
    private int ticket_id,number,user_id,user_email_id,dept_id,sla_id,topic_id,staff_id,team_id,email_id;
    private String ip_address,status,source;
    private boolean isoverdue,isanswered;
    private Date duedate,reopened,closed,lastmessage,lastresponse,created,updated;

    public Ticket(int ticket_id, int number, int user_id, int user_email_id, int dept_id, int sla_id, int topic_id,
                  int staff_id, int team_id, int email_id, String ip_address, String status, String source,
                  boolean isoverdue, boolean isanswered, Date duedate, Date reopened, Date closed, Date lastmessage,
                  Date lastresponse, Date created, Date updated) {
        this.ticket_id = ticket_id;
        this.number = number;
        this.user_id = user_id;
        this.user_email_id = user_email_id;
        this.dept_id = dept_id;
        this.sla_id = sla_id;
        this.topic_id = topic_id;
        this.staff_id = staff_id;
        this.team_id = team_id;
        this.email_id = email_id;
        this.ip_address = ip_address;
        this.status = status;
        this.source = source;
        this.isoverdue = isoverdue;
        this.isanswered = isanswered;
        this.duedate = duedate;
        this.reopened = reopened;
        this.closed = closed;
        this.lastmessage = lastmessage;
        this.lastresponse = lastresponse;
        this.created = created;
        this.updated = updated;
    }

    public int getTicket_id() {
        return ticket_id;
    }

    public void setTicket_id(int ticket_id) {
        this.ticket_id = ticket_id;
    }

    public int getNumber() {
        return number;
    }

    public void setNumber(int number) {
        this.number = number;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getUser_email_id() {
        return user_email_id;
    }

    public void setUser_email_id(int user_email_id) {
        this.user_email_id = user_email_id;
    }

    public int getDept_id() {
        return dept_id;
    }

    public void setDept_id(int dept_id) {
        this.dept_id = dept_id;
    }

    public int getSla_id() {
        return sla_id;
    }

    public void setSla_id(int sla_id) {
        this.sla_id = sla_id;
    }

    public int getTopic_id() {
        return topic_id;
    }

    public void setTopic_id(int topic_id) {
        this.topic_id = topic_id;
    }

    public int getStaff_id() {
        return staff_id;
    }

    public void setStaff_id(int staff_id) {
        this.staff_id = staff_id;
    }

    public int getTeam_id() {
        return team_id;
    }

    public void setTeam_id(int team_id) {
        this.team_id = team_id;
    }

    public int getEmail_id() {
        return email_id;
    }

    public void setEmail_id(int email_id) {
        this.email_id = email_id;
    }

    public String getIp_address() {
        return ip_address;
    }

    public void setIp_address(String ip_address) {
        this.ip_address = ip_address;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getSource() {
        return source;
    }

    public void setSource(String source) {
        this.source = source;
    }

    public boolean isIsoverdue() {
        return isoverdue;
    }

    public void setIsoverdue(boolean isoverdue) {
        this.isoverdue = isoverdue;
    }

    public boolean isIsanswered() {
        return isanswered;
    }

    public void setIsanswered(boolean isanswered) {
        this.isanswered = isanswered;
    }

    public Date getDuedate() {
        return duedate;
    }

    public void setDuedate(Date duedate) {
        this.duedate = duedate;
    }

    public Date getReopened() {
        return reopened;
    }

    public void setReopened(Date reopened) {
        this.reopened = reopened;
    }

    public Date getClosed() {
        return closed;
    }

    public void setClosed(Date closed) {
        this.closed = closed;
    }

    public Date getLastmessage() {
        return lastmessage;
    }

    public void setLastmessage(Date lastmessage) {
        this.lastmessage = lastmessage;
    }

    public Date getLastresponse() {
        return lastresponse;
    }

    public void setLastresponse(Date lastresponse) {
        this.lastresponse = lastresponse;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getUpdated() {
        return updated;
    }

    public void setUpdated(Date updated) {
        this.updated = updated;
    }
}
